﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh">

<head>

<title>{% block title %}残阳似血的博客 {% endblock %}</title>

<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="author" content="chineking" />
<meta name="description" content="残阳似血的博客" />
<meta name="keywords" content="{{ keywords }}" />
<meta name="robots" content="index, follow, noarchive" />
<meta name="googlebot" content="noarchive" />

<link rel="shortcut icon" href="/static/blog/images/chine.ico"/>

<link rel="stylesheet" type="text/css" media="screen" href="/static/blog/css/screen.css" />
<link type="text/css" rel="stylesheet" href="http://js.wcdn.cn/t3/style/css/common/card.css" />
{% block css %}
{% endblock %}

<script type="text/javascript" src="http://js.wcdn.cn/t3/platform/js/api/wb.js" charset="utf-8"></script>
{% block js %}
{% endblock %}

</head>

<body>

<!--header -->
<div id="header-wrap"><div id="header">

	<a name="top"></a>

	<h1 id="logo-text"><a href="{% url program %}" title="">残阳似血的博客</a></h1>
	<p id="slogan">Lost good things... </p>

	<div  id="nav">
		<ul>
			{% block nav %}
			<li id="current"><a href="{% url program %}">首页</a></li>
			<li><a href="{% url program-categories %}">分类</a></li>
			<li><a href="{% url program-contact %}">留言板</a></li>
			<li><a href="{% url program-about %}">关于</a></li>
			{% endblock nav %}
		</ul>
	</div>
    
   <p id="rss">
      <a href="{% url program-rss %}">订阅 RSS</a>
   </p>

   <form id="quick-search" method="get" action="{% url program-search %}">
      <fieldset class="search">
         <label for="q">Search:</label>
         <input class="tbox" id="q" type="text" name="q" value="Search..." title="开始输入，按回车键进行搜索" onfocus="clS(1);" onblur="clS(0);" />
         <button class="btn" title="点击搜索">Search</button>
      </fieldset>
   </form>

	<script type="text/javascript"> 
        /*
         * Simple JS function for setting the search value
         */
        function clS(t){
                var srch = document.getElementById('q'), val = srch.value.toString().toLowerCase(), re = /^\s+$/;
                if(t) {
                        if(val == 'search...' || val == 'search'){
                                srch.value = '';
                        }
                } else {
                        if(val == 'search...' || val == 'search' || val == '' || re.test(val)) {
                                srch.value = 'Search...';
                        }
                }
        }
    </script> 
<!--/header-->
</div></div>
	
<!-- content-outer -->
<div id="content-wrap" class="clear" >

	<!-- content -->
   <div id="content">

   	<!-- main -->
	   <div id="main">
	  {% block label %}
	  {% endblock %}
      {% block content %}
      {% endblock %}
        <!-- /main -->
		</div>

      <!-- sidebar -->
		<div id="sidebar">

      	<div class="about-me">

         	<h3>关于作者</h3>
		      <p>
		      <a href="{% url program-about %}"><img src="/static/photos/avatar/large_12420k169.thumb.jpg" width="40" height="40" alt="firefox" class="float-left" /></a>
            	{{ intro|removetags:"div p"|safe }}<br />
				<a href="{% url program-about %}">了解更多...</a>
				</p>

         </div>

			<div class="sidemenu">

				<h3>博客分类</h3>
            	<ul>
            		{% block cate %}
					<li><a href="index.html">Home</a></li>
					<li><a href="index.html#TemplateInfo">TemplateInfo</a></li>
					<li><a href="style.html">Style Demo</a></li>
					<li><a href="blog.html">Blog</a></li>
					<li><a href="archives.html">Archives</a></li>
					<li><a href="http://www.dreamtemplate.com" title="Web Templates">Web Templates</a></li>
					{% endblock %}
				</ul>

			</div>


		{% block popular %}
         <div class="popular">

				<h3>文章点击排行</h3>

			</div>
		{% endblock %}
		
		<div class="tagclouds">

				<h3>标签云</h3>
				<ul>
	            {% block tagclouds %}{% endblock %}
				</ul>
			</div>
		
		<div>
			<h3>扫描访问</h3>
			<img alt="" src="http://goo.gl/WZkcN.qr" />
	    </div>
		
		<div>
			<h3>残阳似血的微博</h3>
			<iframe width="100%" height="400" class="share_self"  frameborder="0" scrolling="no" src="http://service.t.sina.com.cn/widget/WeiboShow.php?width=0&height=400&fansRow=2&ptype=1&speed=0&skin=1&isTitle=1&noborder=1&isWeibo=1&isFans=0&uid=1883113397&verifier=45ddb58d"></iframe></div>
		
		<div id="weibo_log">
			<h3>登录</h3>
			{% if not weibo_log %}
			<a href="{% url program-log %}" title="登录新浪微博"><img src="/static/blog/images/sns/32.png" alt=""/></a>
			{% else %}
			<a href="#" title="{{ weibo_name }}">{{ weibo_name }}</a><a href="{% url program-logout %}">退出新浪微博</a>
			{% endif %}
		</div>
      <!-- /sidebar -->
		</div>

    <!-- content -->
	</div>

<!-- /content-out -->
</div>
		
<!-- footer-outer -->
<div id="footer-outer" class="clear"><div id="footer-wrap">


	 <div class="col-a">
		<h3>联系我</h3>

		<p>
		<strong>QQ： </strong>344861256<br/>
		</p>

        <p><strong>E-mail: </strong>chinekingseu@gmail.com</p>
		<p><strong>更多信息 - 请访问</strong> <a href="{% url program-about %}">关于作者</a></p>

      <h3>更新</h3>

      <ul class="subscribe-stuff">
      	<li><a title="RSS" href="{% url program-rss %}" rel="nofollow">
				<img alt="RSS" title="RSS" src="/static/blog/images/social_rss.png" /></a>
			</li>
      	<li><a title="Renren" href="http://www.renren.com/profile.do?id=722143160" rel="nofollow">
				<img alt="Renren" title="Renren" src="/static/blog/images/renren.png" /></a>
			</li>
			<li><a title="Weibo" href="http://t.sina.com.cn/chinekingseu" rel="nofollow">
				<img alt="Weibo" title="Weibo" src="/static/blog/images/WeiBo.png" /></a>
			</li>
			<li><a title="E-mail this story to a friend!" class="send-email" href="#" rel="nofollow">
				<img alt="E-mail this story to a friend!" title="E-mail this story to a friend!" src="/static/blog/images/social_email.png" /></a>
			</li>
      </ul>

      <p>保持更新，通过订阅
		<a href="{% url program-rss %}">RSS</a>, <a href="http://www.renren.com/profile.do?id=722143160">人人</a>,
		<a href="http://t.sina.com.cn/chinekingseu">新浪微博</a> or <a href="index">Email</a>
		</p>
		
	</div>

	<div class="col-a">

   	<h3>网站链接</h3>

		<div class="footer-list">
			<ul>
				<li id="current"><a href="{% url program %}">首页</a></li>
				<li><a href="{% url program-categories %}">分类</a></li>
				<li><a href="{% url program-contact %}">留言板</a></li>
				<li><a href="{% url program-about %}">关于</a></li>
			</ul>
		</div>

      <h3>好友列表</h3>

		<div id="friendlist" class="footer-list">
			<ul>
				{% block friend %}
				{% endblock %}
			</ul>
		</div>

	</div>

   <div class="col-a">


      <h3>最新评论</h3>

	   <div class="recent-comments">
         <ul>
         	{% block comment %}
			{% endblock %}
		 </ul>
		</div>

   </div>

   <div class="col-b">

      <h3>所有分类</h3>

	   <div class="footer-list">
			<ul>
				{% block cate2 %}
				{% endblock %}
			</ul>
		</div>
		
	 <h3>友情链接</h3>

		<div class="footer-list">
			<ul>
				<li><a href="http://simple-is-better.com/" title="Python.cn(news, jobs)" target="_blank">Python.cn(news, jobs)</a></li>
				<li><a href="http://apassby.wordpress.com/" title="迷路的坤坤" target="_blank">迷路的坤坤</a></li>
				<li><a href="http://www.balloonsys.com/blog/" title="Balloonsys Inc." target="_blank">Balloonsys Inc.</a></li>
				<li><a href="http://xiayf.sinaapp.com/" title="黑客的白板" target="_blank">黑客的白板</a></li>
			</ul>
		</div>

	</div>

<!-- /footer-outer -->
</div></div>

<!-- footer-bottom -->
<div id="footer-bottom">

	<p class="bottom-left">
		&copy; 2011 <strong>Copyright Info</strong>&nbsp; &nbsp; &nbsp;
		<a href="#" title="残阳似血的博客">残阳似血的博客</a> powered by <a href="http://www.djangoproject.com/" target="_blank">Django</a>
	</p>

	<p class="bottom-right">
		<a href="{% url program %}">Home</a> |
		<a href="/sitemap.xml">Sitemap</a> |
		<a href="{% url program-rss %}">RSS Feed</a> |
      <strong><a href="#top">Back to Top</a></strong>
   </p>

<!-- /footer-bottom-->
</div>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-22437438-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  
  WB.core.load(['connect', 'client', 'widget.base', 'widget.atWhere'], function() {
	var cfg = {
		key: '2233047537',
		xdpath: 'http://qinxuye.me/static/xd.html'
	};
	WB.connect.init(cfg);
	WB.client.init(cfg);
	
	//user card widget
	WB.widget.atWhere.searchAndAt(document.getElementById("comment"));
	WB.widget.atWhere.searchAndAt(document.getElementById("friendlist"));
  });

</script>

{% block footerjs %}
{% endblock %}

</body>
</html>

